package cn.tedu.yushouge.pet.adopt.mapper;


import cn.tedu.yushouge.pet.adopt.pojo.entity.Adopt;
import cn.tedu.yushouge.pet.adopt.pojo.vo.AdoptListItemVO;
import cn.tedu.yushouge.pet.adopt.pojo.vo.AdoptListVO;
import cn.tedu.yushouge.pet.adopt.pojo.vo.AdoptStandardVO;
import cn.tedu.yushouge.pet.adopt.pojo.vo.PetListItemVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
import pet_pavilion.yushougeums.pojo.vo.UserStandardVO;

import java.util.List;

@Repository
public interface AdoptMapper extends BaseMapper<Adopt> {

    List<AdoptListVO> list();

    AdoptStandardVO getStandardById(Long id);

    UserStandardVO selectUserByUserId(Long userId);

    PetListItemVO selectPetByPetId(Long petId);

    int updateState(Long id);
}
